Man United returned from the October international break with a 2-1 win over Brentford in the Premier League.